package com.gx.smart.building.ui.repair.model;

import com.huishi.gx.ib.grpc.lib.ib.asset.spare.v1.dto.SpareDto;

import java.util.Map;

/**
 * @author: xiaosy
 * 时间: 2022/5/19
 * @Description: java类作用描述
 * @Version: 1.0
 **/
public class SelectedSpareStocksMessageEvent {
    private Map<Integer, SpareDto> item;
    //第一个integer是add的位置，
    //第二个integer是已经选择的位置
    private Map<Integer, Integer> positionList;

    public SelectedSpareStocksMessageEvent(Map<Integer, SpareDto> item,
                                           Map<Integer, Integer> positionList) {
        this.item = item;
        this.positionList = positionList;
    }

    public Map<Integer, SpareDto> getItem() {
        return item;
    }

    public Map<Integer, Integer> getPositionList() {
        return positionList;
    }
}
